<!DOCTYPE html>
<html>
<head>
 	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta content="telephone=no" name="format-detection">
    <link rel="stylesheet" type="text/css" href="../css/weui.css">
    <link rel="stylesheet" type="text/css" href="../css/xq_slide.css">
    <link rel="stylesheet" type="text/css" href="../css/newding.css">
    <title>众享商城</title>
</head>
<body class="bgf6">
	<!-- 头部 -->
    <div class="header-container bgfff">
            <div class="weui-cell ih30 box">
                <div class="weui-cell__hd">
                   
                </div>
                <div class="weui-cell__bd searchimgbox">
                	<img class="searchimg" src="../img/search.png">
                	<input class="" type="text" name="" placeholder="输入商品名称搜索">
                	<!-- <span class="fr tc">退出</span> -->
                </div>
                <div class="weui-cell__ft">
                    <div class="carbox">
                        <img class="carimg" src="../img/car.png" class=""/>
                        <div class="carnum">
                            <span>99</span>
                        </div>
                    </div>
                </div>
            </div>
    </div>

    <!-- 选择分类导航 -->
    <div class="classnav flex bgfff ih30">
        <div class="flex1 flex">
            <div class="flex1 classnav1">
                <!-- <span class="allclass on">全部分类</span> -->
                <select class="allclass">
                    <option>全部分类</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                </select>
                <div>全进步分类</div>
            </div>
            <div class="flex1 classnav2">
                
                <!-- <span class="zhclass">综合排序</span> -->
                <select class="zhclass">
                    <option>综合排序</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                    <option>蔬菜水果</option>
                </select>
                <div>全进步分类</div>
            </div>
        </div>
        <div class="divclass">
            <img class="" src="../img/class1.png">
        </div>
    </div>

    <!-- 内容 -->
    <div class="xq_container listbox padtop100">
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 line2 mgb5">        巴黎欧莱雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧莱雅巴黎欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div>
            </div>
        </div>
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 line2 mgb5">        巴黎欧莱雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧莱雅巴黎欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div>
            </div>
        </div>
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 line2 mgb5">        巴黎欧莱雅巴黎欧莱雅巴黎欧巴黎欧莱雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧雅巴黎欧莱雅巴黎欧莱雅巴黎欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div>
            </div>
        </div>
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 h40 line2 mgb5">巴黎欧欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div> 
            </div>     
        </div>
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 h40 line2 mgb5">巴黎欧欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div> 
            </div>     
        </div>
        <div class="shoplist">
            <div><img class="listimg1" src="../img/img (133).png"></div>
            <div>
                <div class="ih20 h40 line2 mgb5">巴黎欧欧莱雅</div>
                <div class="listdiv3 ">
                    <div class="ih20">
                        <div class="colb6 fs12">月售<span>588</span>件</div>
                        <div class="colred">￥<span>189.00</span></div>
                    </div>
                    <div>
                        <img class="listimg2" src="../img/img (136).png">
                    </div>
                </div> 
            </div>     
        </div>
    </div>


<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="../js/xq_slide.js"></script>
<script type="text/javascript">
    $('.divclass').click(function () {
        if($(this).hasClass('on')){
            $(this).removeClass('on');
            $(this).find('img').attr('src','../img/class1.png');
            $('.shoplist').removeClass('shoplist2');
        }else{
            $(this).addClass('on');
            $(this).find('img').attr('src','../img/class2.png');
            $('.shoplist').addClass('shoplist2');
        }
    });

    $('.allclass,.zhclass').change(function(){
        console.log($(this).val());
        $(this).next('div').html($(this).val());
    })
</script>
</body>
</html>